
import { apiGet , apiPost } from './api'

//添加系统角色
export function login(data) {
    return new Promise((resolve) => {
        apiPost('https://testshool.zzgoodqc.cn/index.php/index/index/login', data).then(res => {
            resolve(res)
        })
    })
}

export function SetStatus(data) {
    return new Promise((resolve) => {
        apiGet('index.php/index/role/stoproles',data).then(res => {
            resolve(res);
        })
    })
}



